package com.cl.pojo;

public class User{
    private int lid;
    private String username;
    private String email;
    private String password;
    private int uid;   //userinfo 的id

    public User() {
    }

    public User(String username, String email, String password, int uid) {
        this.username = username;
        this.email = email;
        this.password = password;
        this.uid = uid;
    }

    public int getLid() {
        return lid;
    }

    public void setLid(int lid) {
        this.lid = lid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "User{" +
                "lid=" + lid +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", password='" + password + '\'' +
                ", uid=" + uid +
                '}';
    }
}